

<html>
<head>
<!--<script src="Downloads/TTE.full.1.1.min.js"></script>-->
<script src="TTE.core.js"></script>
<script src="Reporters/TTE.reporters.httpGet.js"></script>
<script src="Reporters/TTE.reporters.console.js"></script>
<script>
function asdf() {}
asdf.prototype.run = function(obj) {
	return "this is a custom gatherer";
}

TTE.init({ 
		reporters: [ 
				new TTE.reporters.console({
					gatherers: { myCustomKey: new asdf() },
					useDefaultGatherers: true
				}),
				new TTE.reporters.httpGet({
					url: "http://localhost/backend.php",
					token: "myToken" 
				})
			]
		});
</script>

<script>
</script>

</head>
<body>
<input type="button" value="Click" onclick="functionThatDoesntExist();" />
</body>
</html>